package org.sfx.rich

import java.lang.reflect.GenericDeclaration
import java.lang.reflect.TypeVariable

case class RichGenericDeclaration(underlying: GenericDeclaration) {  
  def typeParameters[S <: GenericDeclaration]: Array[TypeVariable[S]] = underlying.getTypeParameters().map { jTypeVariable =>
    throw new RuntimeException("not implemented")
    //TypeVariable[S](jTypeVariable.asInstanceOf[S#Underlying])
  }
}
